
package kr.makjang.lib.data;

import java.io.Serializable;

import android.content.DialogInterface;

/**
 * @since 2011. 12. 13.
 * @author FateInDestiny
 * @package kr.makjang.lib.data
 * @content Bundle로 Listener를 저장하기 위해 만든 Class
 */
public class MakListenerBundle implements Serializable {

    private static final long serialVersionUID = 1L;

    private DialogInterface.OnClickListener[] mOnClickListener;

    private DialogInterface.OnCancelListener[] mOnCancelListener;

    public MakListenerBundle() {
    }

    /**
     * DialogInterface Click Event set
     * 
     * @param DialogInterface.OnClickListener[]
     */
    public void setOnClickListener(DialogInterface.OnClickListener[] listener) {
        mOnClickListener = listener;
    }

    /**
     * DialogInterface Click Event get
     * 
     * @return DialogInterface.OnClickListener[]
     */
    public DialogInterface.OnClickListener[] getOnClickListener() {
        return mOnClickListener;
    }

    /**
     * DialogInterface Cancel Event set
     * 
     * @param DialogInterface.OnClickListener[]
     */
    public void setOnCancelListener(DialogInterface.OnCancelListener[] listener) {
        mOnCancelListener = listener;
    }

    /**
     * DialogInterface Cancel Event get
     * 
     * @return DialogInterface.OnClickListener[]
     */
    public DialogInterface.OnCancelListener[] getOnCancelListener() {
        return mOnCancelListener;
    }
} // end of class ListenerBundle
